package com.mrbus.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <br>
 * date：2020-12-1 17:38
 *
 * @author MrBUS
 * @version 1.0
 * @since JDK 1.8
 */
@RestController
public class DockerController {

    @Value("${docker.name:docker1}")
    private String docker;

    @RequestMapping(value = "/docker")
    public String docker() {
        return "Hello " + docker + "!";
    }

}
